<head>
  <meta name="charset" content="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="{{ site.description | normalize_whitespace }}">
  <meta charset="utf-8">
  <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/img/logo_bw.png" />

  {% if page.title %}
  <title>{{ page.title }} - {{ layout.title | default: site.title }}</title>
  {% else %}
  <title>{{ layout.title | default: site.title }}</title>
  {% endif %}
  <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/pure.min.css">
  <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/pure-grids-responsive.min.css">
  <!-- <link href="https://use.fontawesome.com/releases/v5.0.2/css/all.css" rel="stylesheet"> -->
  <link href="https://cdn.bootcss.com/font-awesome/5.10.2/css/all.min.css" rel="stylesheet">
  <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> -->
  {% if page.use_dark_highlighting %}
  <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/highlight/dracula.css">
  {% else %}
  <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/highlight/github.css">
  {% endif %}

  <meta name="keyword" content="nim,nim中文,Nim中文社区,nim中文网,nim语言,nim编程语言">

  <!-- <link href="https://fonts.googleapis.com/css?family=Inconsolata|Open+Sans|Titillium+Web" rel="stylesheet"> -->
  <link href="https://fonts.font.im/css?family=Inconsolata|Open+Sans|Titillium+Web" rel="stylesheet">
  <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css?t={{site.time | date: '%s%N'}}">

  <!-- <meta name="twitter:title" content="{{ page.title | default: site.title  }}"> -->

  {% if page.is_post %}
  <!-- <meta name="twitter:description" content="{{ page.excerpt | strip_html | normalize_whitespace }}"> -->
  <meta property="og:description" content="{{ page.excerpt | strip_html | normalize_whitespace }}">
  {% else %}
  <!-- <meta name="twitter:description" content="{{ site.description | normalize_whitespace }}"> -->
  <meta property="og:description" content="{{ site.description | normalize_whitespace }}">
  {% endif %}

  <!-- <meta name="twitter:site" content="@nim_lang"> -->
  <!-- <meta name="twitter:card" content="summary_large_image"> -->
  <!-- <meta name="twitter:image" content="https://nim-lang.org/assets/img/twitter_banner.png">  -->

  <meta property="og:title" content="{{ page.title | default: site.title }}" />
  <meta property="og:site_name" content="{{ site.title }}" />
  <meta property="og:type" content="website" />
  <meta property="og:image" content="https://nim-cn.com/assets/img/twitter_banner.png" />
  <meta property="og:image:type" content="image/png" />
  <meta property="og:image:width" content="1000" />
  <meta property="og:image:height" content="500" />
  <meta property="og:image:alt" content="Nim中文" />

  <meta name="copyright" content="Nim中文社区">

  <!-- SEO START -->
  <!-- baidu -->
  <meta name="baidu-site-verification" content="D5uE3gaRue" />
  <!-- Global site tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-144592616-1"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-144592616-1');
  </script>
  <!-- bing -->
  <meta name="msvalidate.01" content="664E5CE055C5DCC50BB1238208911CDF" />
  <!-- yandex -->
  <meta name="yandex-verification" content="24900ce4c46b3893" />
  <!-- SEO END -->

  <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
</head>
